package com.yunhe.common.model.msg;

import com.yunhe.common.model.authority.StationDTO;

import java.io.Serializable;
import java.util.List;

/**
 * 电站更新消息对象
 * @author liuronglei
 */
public class StationMsgDTO implements Serializable {
    // 消息类型 SystemConsts.ACTION
    private String action;
    // 更新的电站列表
    private List<StationDTO> stations;
    // 是否更新了调试状态
    private Boolean debugRefresh;
    // 操作用户ID
    private Long userId;

    public Boolean getDebugRefresh() {
        return debugRefresh;
    }

    public void setDebugRefresh(Boolean debugRefresh) {
        this.debugRefresh = debugRefresh;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public List<StationDTO> getStations() {
        return stations;
    }

    public void setStations(List<StationDTO> stations) {
        this.stations = stations;
    }
}
